<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
    		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title></title>
		<link href="../../css/bootstrap.min.css" rel="stylesheet">
		<link rel="stylesheet" type="text/css" href="../../css/Corder.css"/>
	</head>
	<body>
		<!--
        	作者：13616045651@163.com
        	时间：2017-04-01
        	描述：眉页
        -->
		<div class="guideTital">
			<div class="">
				<nav aria-label="...">
					<!--
                    	作者：13616045651@163.com
                    	时间：2017-04-02
                    	描述：回退按钮
                    -->
				  <ul class="pager">
				    <li class="previous"><a href="javascript:history.go(-1);">&larr;</span> Older</a></li>
				  </ul>
				</nav>
			</div>
			<!--
            	作者：13616045651@163.com
            	时间：2017-04-02
            	描述：添加、删除功能
            		点击添加，直接跳转至购物记录添加页面（addCorder）;
            		点击删除，提交操作记录，等待管理员通过执行
            -->
			<div class="operate">
				<button type="button" class="btn btn-default" onclick="addCorder()">添加Add</button>
				<button type="button" class="btn btn-danger" onclick="deleteCorder()">删除Delete</button>
			</div>
			
			<div class="space">
				&nbsp;
			</div>
			<!--
            	作者：13616045651@163.com
            	时间：2017-04-02
            	描述：通过客户ID、款号、日期搜索相应的购物记录数据
            		当读取的数据都为空是，展示所有的信息
            -->
			<div class="searchInput">
				<input type="text" class="form-control" name="searchInputID" placeholder="输入客户ID/款号">
			</div>
			<div class="searchDate">
				<input type="date" class="form-control" name="searchInputDate" >
			</div>
			<div class="searchB">
				<button type="submit" class="btn btn-primary">Search</button>
			</div>
			<!--
            	作者：13616045651@163.com
            	时间：2017-04-02
            	描述：统计当前展示购物记录的退货数量
            		统计当前展示购物记录的已成交数量
            -->
			<div class="Qty">
				退货<span class="badge">42</span>
			</div>
			<div class="Qty">
				已成交<span class="badge">42</span>
			</div>
		</div>
		<!--
        	作者：13616045651@163.com
        	时间：2017-04-02
        	描述：客户购物数据表，主内容
        		点击订单ID，进入购物记录更新页面（updataCorder）
        		点击客户ID，进入客户详细信息页面（Cdetail）
        -->
		<div class="panel panel-default">
			<div class="panel-heading">客户购物记录表</div>
				<table class="table table-hover">
					<tr>
						<th><input type="checkbox" name="orderID" id="orderID" /></th>
						<th>订单号</th>
						<th>客户ID</th>
						<th>款号</th>
						<th>礼品</th>
						<th>订单状态</th>
					</tr>
					<tr>
						<td><input type="checkbox" name="orderID" id="orderID" /></td>
						<td><a class="an" href="../updata/updataCorder.html">011254889356688</a></td>
						<td><a class="an" href="Cdetail.html">好好聚聚时</a></td>
						<td>U200155</td>
						<td>鞋子，皮带，腰头，海绵，狐狸套，鞋油，打火机</td>
						<td>已成交</td>
					</tr>
					<tr>
						<td><input type="checkbox" name="orderID" id="orderID" /></td>
						<td><a class="an" href="../updata/updataCorder.html">011254889356688</a></td>
						<td><a class="an" href="Cdetail.html">好好聚聚时</a></td>
						<td>U200155</td>
						<td>鞋子，皮带，腰头，海绵，狐狸套，鞋油</td>
						<td>未成交</td>
					</tr>
					<tr>
						<td><input type="checkbox" name="orderID" id="orderID" /></td>
						<td><a class="an" href="../updata/updataCorder.html">011254889356688</a></td>
						<td><a class="an" href="Cdetail.html">好好聚聚时</a></td>
						<td>U200155</td>
						<td>鞋子，皮带，腰头，海绵</td>
						<td>退货</td>
					</tr>
				</table>
			</div>
		</div>
		<!--
        	作者：13616045651@163.com
        	时间：2017-04-02
        	描述：翻页控件
        -->
		<div class="page">
		 <nav aria-label="Page navigation">
		  <ul class="pagination">
		    <li>
		      <a href="#" aria-label="Previous">
		        <span aria-hidden="true">&laquo;</span>
		      </a>
		    </li>
		    <li><a href="#">1</a></li>
		    <li><a href="#">2</a></li>
		    <li><a href="#">3</a></li>
		    <li><a href="#">4</a></li>
		    <li><a href="#">5</a></li>
		    <li>
		      <a href="#" aria-label="Next">
		        <span aria-hidden="true">&raquo;</span>
		      </a>
		    </li>
		  </ul>
		</nav>
		</div>
		<!--
        	作者：13616045651@163.com
        	时间：2017-04-01
        	描述：备忘录弹窗，按钮通过data-target，找到模态框，触发显示；触发按钮的onclick在mtop.html页面中备忘录按钮
        -->
		<div class="modalButton">
			<button id="btnM" type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal">Large modal</button>
		</div>
		<!--
        	作者：13616045651@163.com
        	时间：2017-04-01
        	描述：模态框
        -->
		<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
		<div class="modal-dialog" role="document">
		    <div class="modal-content">
		      	<div class="modal-header">
		        	<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
		        	<h4 class="modal-title" id="exampleModalLabel">待办事项登记页</h4>
		      	</div>
		    <div class="modal-body">
		        <form>
		          <div class="form-group">
		            <label for="recipient-name" class="control-label">客户ID：</label>
		            <input type="text" class="form-control" name="Cid">
		          </div>
		          <div class="form-group">
		            <label for="recipient-name" class="control-label">提醒时间：</label>
		            <input type="date" class="form-control" name="warnTime" min="">
		          </div>
		          <div class="form-group">
		            <label for="message-text" class="control-label">具体事项：</label>
		            <textarea rows="4" class="form-control" name="Content"></textarea>
		          </div>
		        </form>
		    </div>
		    <div class="modal-footer">
		        <button type="button" class="btn btn-primary">提交</button>
		    </div>
		</div>
	</body>
	<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
    	<script src="../../js/bootstrap.min.js"></script>
    	<script src="../../js/system.js" type="text/javascript" charset="utf-8"></script>
</html>